from django.db import models
from django.utils.translation import ugettext_lazy as _
from config import STATE

class State(models.Model):

	#numDoc	= models.ForeignKey(Document)
	Name = models.CharField(_('Nombre'), max_length=1, unique=True)
	Desc = models.CharField(_('Descripcion'), max_length=50, unique=True)
	
	#def GetState(self):
		#return self.txt
	
	#def SetState(newSt, numDoc):
		#c = State()
		#c.numDoc = numDoc
		#c.txt = newSt
		#c.save
		
		#return True
